<html>
<head><meta charset="utf-8"><title>failed to install cargo · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html">failed to install cargo</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="206987047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/206987047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#206987047">(Aug 14 2020 at 22:02)</a>:</h4>
<div class="codehilite"><pre><span></span><code>pi@rpi64:~ $ rustup update
info: syncing channel updates for &#39;stable-aarch64-unknown-linux-gnu&#39;
info: syncing channel updates for &#39;nightly-aarch64-unknown-linux-gnu&#39;
info: latest update on 2020-08-14, rust version 1.47.0-nightly (81dc88f88 2020-08-13)
info: downloading component &#39;cargo&#39;
  4.5 MiB /   4.5 MiB (100 %) 883.0 KiB/s in  5s ETA:  0s
info: downloading component &#39;rust-std&#39;
 25.4 MiB /  25.4 MiB (100 %)   1.0 MiB/s in 31s ETA:  0s
info: downloading component &#39;rustc&#39;
 59.7 MiB /  59.7 MiB (100 %) 931.2 KiB/s in  1m  7s ETA:  0s
info: removing previous version of component &#39;cargo&#39;
info: removing previous version of component &#39;rust-std&#39;
info: removing previous version of component &#39;rustc&#39;
info: installing component &#39;cargo&#39;
info: Defaulting to 500.0 MiB unpack ram
info: rolling back changes
error: failed to install component: &#39;cargo-aarch64-unknown-linux-gnu&#39;, detected conflict: &#39;&quot;etc/bash_completion.d/cargo&quot;&#39;
info: checking for self-updates

       stable-aarch64-unknown-linux-gnu unchanged - rustc 1.45.2 (d3fb005a3 2020-07-31)
  nightly-aarch64-unknown-linux-gnu update failed -

info: cleaning up downloads &amp; tmp directories
</code></pre></div>


<p>Is this just nightly being weird and broken, or do I need to actually make a change on my system and try again?</p>
<p>I should say, I just imaged this device yesterday, so things should be fairly close to a "default setup". Also the <em>current</em> nightly is broken as well. It does nothing at all. Stable works, but if you try to use Nightly nothing happens:</p>
<div class="codehilite"><pre><span></span><code>pi@rpi64:~ $ cargo +nightly
pi@rpi64:~ $ cargo +nightly --version
pi@rpi64:~ $
</code></pre></div>



<a name="207061854"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/207061854" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#207061854">(Aug 16 2020 at 08:38)</a>:</h4>
<p><span class="user-mention" data-user-id="224471">@Lokathor</span> I'd report this as a bug on GH</p>



<a name="207074354"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/207074354" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#207074354">(Aug 16 2020 at 14:47)</a>:</h4>
<p>there was a similar file error today, but for a different file.</p>
<p>I'll file a bug this afternoon if today's nightly continues to not work.</p>



<a name="207075051"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/207075051" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#207075051">(Aug 16 2020 at 15:06)</a>:</h4>
<p>Oh the nightly for the 16th is already out i guess? and yeah, it still doesn't work, with a third file name in the error.</p>



<a name="207075662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/207075662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#207075662">(Aug 16 2020 at 15:22)</a>:</h4>
<p>Filed, <a href="https://github.com/rust-lang/rust/issues/75591">https://github.com/rust-lang/rust/issues/75591</a></p>



<a name="207075882"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/207075882" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#207075882">(Aug 16 2020 at 15:28)</a>:</h4>
<p><span class="user-mention" data-user-id="224471">@Lokathor</span> It sounds like the toolchain got corrupted. Did you try the workaround mentioned in <a href="https://github.com/rust-lang/rustup/issues/2417">https://github.com/rust-lang/rustup/issues/2417</a> (delete the toolchain and reinstall it)?</p>



<a name="207078178"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/failed%20to%20install%20cargo/near/207078178" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/failed.20to.20install.20cargo.html#207078178">(Aug 16 2020 at 16:32)</a>:</h4>
<p>Yeah, someone suggested that to me on Discord a few minutes ago and it worked out to delete everything and just install Nightly from scratch.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>